package com.chezai.client.global;


/**
 * 网络相关
 * Created by likunyang on 2017/8/24.
 */

public class NetConst {
    public static final boolean RELEASE_SERVER = true;
    //是否开启断电禁训
    public static final boolean IS_OPEN_POPER = RELEASE_SERVER;
    public static final String SERVER_TCP_ADDRESS = "integration.ggxueche.com";
    public static final String SERVER_TCP_PORT = "7777";
    public static final String TEST_TCP_ADDRESS = "integration.ggxueche.com";
    public static final String TEST_TCP_PORT = "7777";


    public static final String SERVER_TCP_ADDRESS_8001 = "47.94.234.58";
    public static final String SERVER_TCP_PORT_8001 = "8100";

//    public static final String SERVER_TCP_ADDRESS_8001 = "192.168.10.154";
//    public static final String SERVER_TCP_PORT_8001 = "8090";
//
//    public static final String SERVER_TCP_ADDRESS_8001 = "172.20.10.12";
//    public static final String SERVER_TCP_PORT_8001 = "8089";

//    public static final String SERVER_TCP_ADDRESS_8001 = "47.94.110.52";
//    public static final String SERVER_TCP_PORT_8001 = "7777";


    //    //设备升级地址
//    public static final String TERMINAL_UPDATE_UPGRADER = "http://upgrader.ggxueche.com/v/4gjszd/";
//    public static final String TERMINAL_UPDATE_UPGRADER = "http://47.92.133.160:8083/v/4gjszd/";
//设备升级地址
//    private static final String TERMINAL_UPDATE_UPGRADER = "http://47.92.133.160:8083/v/4gjszd/";
//    private static final String TERMINAL_UPDATE_UPGRADER_TEST = "http://192.168.10.154:8084/v/4gjszd/";
//    public static final String UPGRADER_URL = RELEASE_SERVER ? TERMINAL_UPDATE_UPGRADER : TERMINAL_UPDATE_UPGRADER_TEST;

    //设备升级地址
    private static final String TERMINAL_UPDATE_UPGRADER = "http://47.92.133.160:8083/v/4gjszd/";
    private static final String TERMINAL_UPDATE_UPGRADER_TEST = "http://192.168.10.154:8084/v/4gjszd/";
    public static final String UPGRADER_URL = RELEASE_SERVER ? TERMINAL_UPDATE_UPGRADER : TERMINAL_UPDATE_UPGRADER_TEST;

// 获取推流地址
//    public static final String GET_PUSH_URL = "http://192.168.10.154:8086/video/";
//    public static final String GET_STOP_URL = "http://192.168.10.154:8086/video/stop/";
    public static final String GET_PUSH_URL = "http://47.92.138.106:8086/video/";
    public static final String GET_STOP_URL = "http://47.92.138.106:8086/video/stop/";

    // 大屏
//    public static final String GET_LED = "http://192.168.10.154:8085/code/dev/";
    public static final String GET_LED = "http://47.92.138.106:8085/code/dev/";

}
